<template>
  <div id="app">
 <router-view/>
<!-- <el-container class="nav">
  <el-aside width="200px"> <el-menu
      default-active="2"
      class="el-menu-vertical-demo"
      @open="handleOpen"
      @close="handleClose"
      background-color="#545c64"
      text-color="#fff"
      active-text-color="#ffd04b">
      <el-menu-item index="1">
        <i class="el-icon-setting"></i>
        <span slot="title">导航1</span>
      </el-menu-item>
      <el-menu-item index="2">
        <i class="el-icon-setting"></i>
        <span slot="title">导航2</span>
      </el-menu-item>
      <el-menu-item index="3">
        <i class="el-icon-setting"></i>
        <span slot="title">导航3 </span>
      </el-menu-item>
    </el-menu></el-aside>
  <el-container>
    <el-header class="Header">Header</el-header>
    <el-main>  <router-view/>Main</el-main>
  </el-container>
</el-container> -->
   
  
  </div>
</template>

<style lang="scss">
.nav{
  height: 100vh;

}
*{
  margin: 0;padding: 0;
  list-style: none;

}
#app{
  height: 100vh;
  width: 100%;
}
.el-menu-vertical-demo{
  height: 100%;
}
.Header{
  border-bottom: 1px solid black;
}
</style>
